package com.zxt.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 查询公共参数
 *
 * @author zxt
 */
@ApiModel("分页输入参数基类")
@Data
public class Query {
    @ApiModelProperty("第几页")
    private int pageNo = 1;
    @ApiModelProperty("每页多少数据")
    private int pageSize = 10;
}
